package models

import "gorm.io/gorm"

type Medical struct {
	gorm.Model
	Name    string `gorm:"type:varchar(20)" json:"name"`
	Sex     string `gorm:"type:enum('男','女')" json:"sex"`
	Tel     string `gorm:"type:char(11)" json:"tel"`
	Doctor  string `gorm:"type:varchar(20)" json:"doctor"`
	Time    string `gorm:"type:varchar(50)" json:"time"`
	Num     int    `gorm:"type:int(10)" json:"num"`
	Status  string `gorm:"type:enum('未进行','进行中','已完成')" json:"status"`
	Explain string `gorm:"type:varchar(30)" json:"explain"`
}
